package com.bot.adms.model.entity;

import com.bot.adms.model.bo.AdSpScDetailTextBo;

/**
 * 广告文字信息实体类
 */
public class AdSpScDetailText {
    public AdSpScDetailText(AdSpScDetailTextBo adSpScDetailTextBo) {
        this.id = adSpScDetailTextBo.getId();
        this.imageUrl = adSpScDetailTextBo.getImageUrl();
        this.location = adSpScDetailTextBo.getLocation();
        this.fontType = adSpScDetailTextBo.getFontType();
        this.fontSize = adSpScDetailTextBo.getFontSize();
        this.fontColor = adSpScDetailTextBo.getFontColor();
        this.textContent = adSpScDetailTextBo.getTextContent();
        this.adSpScDetailId = adSpScDetailTextBo.getAdSpScDetailBo().getId();
    }

    public AdSpScDetailText() {
    }

    /**
     * 广告文字信息id
     */
    private Long id;
    /**
     * 背景图片（文件路径）
     */
    private String imageUrl;
    /**
     * 显示位置（0上、1中、2下，默认中间）
     */
    private Integer location;
    /**
     * 字体类型（0宋体、1微软雅黑，默认宋体）
     */
    private Integer  fontType;
    /**
     * 字体大小（7-12号，默认10号）
     */
    private Integer fontSize;
    /**
     * 字体颜色（显色板选择，默认黑）
     */
    private String fontColor;
    /**
     * 文字内容（15-1024字）
     */
    private String textContent;
    /**
     * 广告分屏明细id
     */
    private Long adSpScDetailId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    public Integer getFontType() {
        return fontType;
    }

    public void setFontType(Integer fontType) {
        this.fontType = fontType;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public Long getAdSpScDetailId() {
        return adSpScDetailId;
    }

    public void setAdSpScDetailId(Long adSpScDetailId) {
        this.adSpScDetailId = adSpScDetailId;
    }
}
